/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

public class MsoSyncErrorType {
	private final int value;

	/** msoSyncErrorNone **/
	public static final MsoSyncErrorType None = new MsoSyncErrorType(0);
	/** msoSyncErrorUnauthorizedUser **/
	public static final MsoSyncErrorType UnauthorizedUser = new MsoSyncErrorType(1);
	/** msoSyncErrorCouldNotConnect **/
	public static final MsoSyncErrorType CouldNotConnect = new MsoSyncErrorType(2);
	/** msoSyncErrorOutOfSpace **/
	public static final MsoSyncErrorType OutOfSpace = new MsoSyncErrorType(3);
	/** msoSyncErrorFileNotFound **/
	public static final MsoSyncErrorType FileNotFound = new MsoSyncErrorType(4);
	/** msoSyncErrorFileTooLarge **/
	public static final MsoSyncErrorType FileTooLarge = new MsoSyncErrorType(5);
	/** msoSyncErrorFileInUse **/
	public static final MsoSyncErrorType FileInUse = new MsoSyncErrorType(6);
	/** msoSyncErrorVirusUpload **/
	public static final MsoSyncErrorType VirusUpload = new MsoSyncErrorType(7);
	/** msoSyncErrorVirusDownload **/
	public static final MsoSyncErrorType VirusDownload = new MsoSyncErrorType(8);
	/** msoSyncErrorUnknownUpload **/
	public static final MsoSyncErrorType UnknownUpload = new MsoSyncErrorType(9);
	/** msoSyncErrorUnknownDownload **/
	public static final MsoSyncErrorType UnknownDownload = new MsoSyncErrorType(10);
	/** msoSyncErrorCouldNotOpen **/
	public static final MsoSyncErrorType CouldNotOpen = new MsoSyncErrorType(11);
	/** msoSyncErrorCouldNotUpdate **/
	public static final MsoSyncErrorType CouldNotUpdate = new MsoSyncErrorType(12);
	/** msoSyncErrorCouldNotCompare **/
	public static final MsoSyncErrorType CouldNotCompare = new MsoSyncErrorType(13);
	/** msoSyncErrorCouldNotResolve **/
	public static final MsoSyncErrorType CouldNotResolve = new MsoSyncErrorType(14);
	/** msoSyncErrorNoNetwork **/
	public static final MsoSyncErrorType NoNetwork = new MsoSyncErrorType(15);
	/** msoSyncErrorUnknown **/
	public static final MsoSyncErrorType Unknown = new MsoSyncErrorType(16);


	private MsoSyncErrorType(int value) { this.value = value; }
	public int getValue() { return this.value; }
	public static MsoSyncErrorType valueOf(int value) { return new MsoSyncErrorType(value); }
	public boolean equals(Object o) {
		if(o == null || o.getClass() != MsoSyncErrorType.class) return false;
		return ((MsoSyncErrorType)o).value == value;
	}
	public int hashCode() { return value; }
}
